package com.only4play.oa.system.service.impl;

import com.only4play.oa.system.api.domain.SysDept;
import com.only4play.oa.system.mapper.SysDeptMapper;
import com.only4play.oa.system.service.ISysDeptService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author mengdy
 */

@Service
@Slf4j
public class ISysDeptServiceImpl implements ISysDeptService {

    @Autowired
    private SysDeptMapper deptMapper;
    @Override
    public SysDept selectDeptById(Long deptId) {
        return deptMapper.selectById(deptId);
    }
}
